function loginOut() {
    window.location.href = basePath + "loginOut";
}

$('#loginConfirm').click(function () {
    swal({
        title: "您确定安全退出吗",
        // text: "删除后将无法恢复，请谨慎操作！",
        type: "warning",
        showCancelButton: true,
        confirmButtonColor: "#DD6B55",
        confirmButtonText: "退出",
        cancelButtonText: "取消",
        closeOnConfirm: false
    }, function () {
        // swal("删除成功！", "您已经永久删除了这条信息。", "success");
        window.location.href = basePath + "loginOut";
    });
});

$(function () {
    $(".nav-second-level a").on("click",function () {
        $(".catalog").removeClass("catalog");
        $(this).addClass("catalog");
    });
});

